<template>
	<div id="setup">
		<nav-tab activeColor="#3A3A3A">
			<header-item>
				<div class="header-nav1" slot="header-img" @click="fanhui">
					<van-icon name="arrow-left" size="25px" color="#ffffff" />
				</div>
				<div class="header-nav2" slot="header-sc">
					<div style="font-size: 17px;color: white;">设置</div>
				</div>
				<div class="header-nav3" slot="header-xingx">
					<van-icon name="more-o" size="25px" />
				</div>
			</header-item>
		</nav-tab>
		<div class="context">
			<van-cell title="个人信息" is-link value="用户名、手机号"  />
		</div>
		<div class="context2">
			<van-cell title="安全设置" is-link />
			<van-cell title="通知" is-link to="/news"/>
		</div>
		<div class="context3">
			<van-cell title="反馈建议" is-link />
			<van-cell title="关于" is-link />
		</div>
       <div class="btnClick" ><van-button type="primary" block >安全退出</van-button></div>
	</div>
</template>

<script>
	import NavTab from '@/components/navtar/Header.vue'
	import HeaderItem from '@/components/navtar/HeaderItem.vue'
	import { Icon,Cell,CellGroup,Button} from 'vant';
	export default{
		methods:{
			fanhui(){
				this.$router.go(-1)
			},
			
			
		},
		components:{
			NavTab,
			HeaderItem,
			[Icon.name]: Icon,
			[Cell.name]: Cell,
			[CellGroup.name]: CellGroup,
			[Button.name]: Button,
		}
	}
</script>

<style scoped lang="less" >
	#setup{
		width: 100vw;
		 height:100%;
		 position: fixed;
		 background-color: rgb(240,240,240);
	}
	 .context{
		 margin-top: 45px;
		 margin-bottom:10px;
	 }
	 .context2{
		 margin-bottom:7px;
	 }
	 .btnClick{
		 width: 80vw;
		 margin: 0 auto;
		 .van-button{
			border-radius:5px; 
			margin-top:30px;
			background-color:#0074D9;
			border: none;
		 }
	 }
</style>
